package at.ac.thornwishstalon.ocrapp.ocr;

import java.util.ArrayList;

import android.graphics.Rect;

public class TesseractResultWrapper {
	private final ArrayList<Rect> characterBoundaryBoxes;
	private final ArrayList<Rect> textlines;
	private final ArrayList<Rect> regions;
	private final String text;
	
	public TesseractResultWrapper(ArrayList<Rect> charBB, ArrayList<Rect> tl, ArrayList<Rect> re, String text){
		characterBoundaryBoxes=charBB;
		regions=re;
		textlines=tl;
		this.text= text;
	}

	public ArrayList<Rect> getCharacterBoundaryBoxes() {
		return characterBoundaryBoxes;
	}

	public ArrayList<Rect> getTextlines() {
		return textlines;
	}

	public ArrayList<Rect> getRegions() {
		return regions;
	}

	public String getText() {
		return text;
	}
	
	

}
